package com.cloudcc.mobile.entity.chat;

import java.io.Serializable;

import com.cloudcc.mobile.entity.EntityBase;
import com.lidroid.xutils.db.annotation.Column;
import com.lidroid.xutils.db.annotation.Foreign;
import com.lidroid.xutils.db.annotation.Table;
/**
 * 多张图片的草稿箱
 * @author Administrator
 *
 */
@Table(name = "DraftDmany")
public class DraftDmany extends EntityBase implements Serializable{
	@Column(column = "body")
	private String body;
	@Column(column = "targetType")
	private String targetType;
	@Column(column = "targetId")
	private String targetId;
	@Column(column = "recordId")
	private String recordId;
	@Column(column = "longitude")
	private double longitude;
	@Column(column = "latitude")
	private double latitude;
	@Column(column = "address")
	private String address;
	@Column(column = "list")
	private String list;

	@Foreign(column = "parentId", foreign = "id")
	public DraftBox parent;

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public String getTargetType() {
		return targetType;
	}

	public void setTargetType(String targetType) {
		this.targetType = targetType;
	}

	public String getTargetId() {
		return targetId;
	}

	public void setTargetId(String targetId) {
		this.targetId = targetId;
	}

	public String getRecordId() {
		return recordId;
	}

	public void setRecordId(String recordId) {
		this.recordId = recordId;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getList() {
		return list;
	}

	public void setList(String list) {
		this.list = list;
	}

	public DraftBox getParent() {
		return parent;
	}

	public void setParent(DraftBox parent) {
		this.parent = parent;
	}

	public DraftDmany() {
		super();
	}
	
}
